﻿Public Class ColCalques
    'Collection indexée de documents trouves
    Inherits System.Collections.ObjectModel.KeyedCollection(Of String, ClassCalque)

    Protected Overrides Function GetKeyForItem(ByVal item As ClassCalque) As String
        Return item.Nom
    End Function

    Friend Overloads Sub add(ByVal Key As String, ByRef Item As ClassCalque)
        If Not Me.Contains(Key) Then
            Me.add(Item)
        End If
    End Sub
End Class
